import axios from '@/libs/api.request'

export const getUserCard = ({
  page,
  size
}) => {
  const data = {
    page,
    size
  }
  return axios.request({
    url: 'usercard/get_all_usercard',
    params: data,
    method: 'get'
  })
}

export const usercardAudit = ({
  id
}) => {
  const data = {
    id
  }
  console.log(data)
  return axios.request({
    url: 'usercard/audit',
    params: data,
    method: 'get'
  })
}
